package com.itany.cms.util;

import java.time.LocalDateTime;

public class ParameterUtil {
    public static boolean isNull(String s) {
        return null == s || "".equals(s);
    }
    public static boolean isNull(Integer s) {
        return null == s || "".equals(s);
    }
    public static boolean isNull(LocalDateTime s) {
        return null == s || "".equals(s);
    }
    public static String nextValue(String value){
        int i = Integer.parseInt(value)+1;
        String s = "00000"+i;
        return s.substring(s.length() - 6);
    }
}
